Skip to content

Fix scaling for device temperature entities - #5197

Draft
puddly wants to merge 2 commits into
zigpy:devfrom
puddly:puddly/fix-device-temperature-scaling
Draft

Fix scaling for device temperature entities#5197
puddly wants to merge 2 commits into
zigpy:devfrom
puddly:puddly/fix-device-temperature-scaling

Conversation

@puddly

@puddly puddly commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Proposed change

Remove all quirks that scale the device temperature by 100. This was a bug in ZHA and is unneeded: zigpy/zha#843.

I've added a quirk for a Namron device that does need scaling, since it was in the testing JSON.

Additional information

Device diagnostics

Checklist

  • The changes are tested and work correctly
  • pre-commit checks pass / the code has been formatted using Black
  • Tests have been added to verify that the new code works
  • Device diagnostics data has been attached

Related: #4347

@puddly puddly changed the title Fix broken scaling for device temperature Fix scaling for device temperature entities Jul 22, 2026
@zigpy-review-bot zigpy-review-bot added bot: unclear LLM is unsure about PR state bot: nearly ready PR is good but needs a few minor tweaks per LLM bot: 2.0 migration done PR is on the ZHA/quirks 2.0.0 API (migrated or written for 2.0) per LLM bugfix This PR fixes a bug bot: needs maintainer PR does something questionable that needs a maintainer decision per LLM and removed bot: unclear LLM is unsure about PR state labels Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot: nearly ready PR is good but needs a few minor tweaks per LLM bot: needs maintainer PR does something questionable that needs a maintainer decision per LLM bot: 2.0 migration done PR is on the ZHA/quirks 2.0.0 API (migrated or written for 2.0) per LLM bugfix This PR fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants